package me.weijing.common.util;

import android.graphics.Bitmap;
import android.widget.ImageView;

import com.nostra13.universalimageloader.core.display.BitmapDisplayer;

public class CreateRoundBitmap implements BitmapDisplayer {
    @Override
    public Bitmap display(Bitmap bitmap, ImageView imageview) {

        if (bitmap != null) {
            Bitmap mBitmap = ImageUtils.toRoundBitmap(bitmap);
            imageview.setImageBitmap(mBitmap);
            return mBitmap;
        }
        return null;
    }

}
